package com.esyoga.yoyoga.service;

import com.esyoga.yoyoga.pojo.DTO.MomentsDTO;
import com.esyoga.yoyoga.pojo.TMoments;

import java.util.List;
import java.util.Map;

public interface MomentsService {
    public List<MomentsDTO> findMomentsToAllUser();
    public List<MomentsDTO> findMomentsToPartUser(Integer userId,Integer userType);
    public Map<String,Object> findMomentsToOnlyYou(Integer userId,Integer userType);
    public String delMomentsById(Integer mId);
    public String addOneMoments(TMoments tMoments);
    public String addOneLikeNum(Integer currentLikenum,Integer mid,Integer likenum);
}
